FROM registry-intl.cn-hongkong.aliyuncs.com/appbaseimg/jdk:1.8.0_112
#MAINTAINER zhangjin
#USER root
#RUN mkdir -p /data/logs && chown -R app:app /home/app/ /data/
USER app
COPY eagle-eye-web-api-boot-product-flb-aliyun.jar /home/app/application/app.jar
COPY entrypoint.sh /home/app/entrypoint.sh
EXPOSE 8000

ENTRYPOINT ["/bin/sh", "/home/app/entrypoint.sh"]
